package com.view.mediator
{
	import com.view.component.StateTwoView;

	import org.puremvc.as3.multicore.interfaces.IMediator;
	import org.puremvc.as3.multicore.patterns.mediator.Mediator;

	public class StateTwoViewMediator extends Mediator implements IMediator
	{
		public static const NAME:String='StateTwoViewMediator';

		public function StateTwoViewMediator(viewComponent:Object)
		{
			super(NAME, viewComponent);
		}

		protected function get statetwoView():StateTwoView
		{
			return viewComponent as StateTwoView;
		}

		override public function onRegister():void
		{
			statetwoView.labelText=NAME;
		}
	}
}